import java.time.ZonedDateTime;

public class T2 {


    public static void main(String[] args){
        ZonedDateTime now = ZonedDateTime.now();// 默认时区
        System.out.println(now); // 2022-10-27T15:37:13.569+08:00[Asia/Shanghai]
    }

}
